xen/arm: support the ARM generic virtual timer
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 17 Jan 2013 16:48:24 +0000 (16:48 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 17 Jan 2013 16:48:24 +0000 (16:48 +0000)
commitb765caf5101a42aca5a60af605717fa1f5db5146
tree01f3e231dd5851c26a414336286605f1e2476efa
parent550d4d96d7c8c8b628979a4fda0fb438304afcbb
xen/arm: support the ARM generic virtual timer

Save and restore the virtual timer registers during the context switch.
At save time initialize an internal Xen timer to make sure that Xen
schedules the guest vcpu at the time of the next virtual timer
interrupt.
Receive the virtual timer interrupt into the hypervisor and inject it
into the running guest.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain.c
xen/arch/arm/gic.c
xen/arch/arm/time.c
xen/arch/arm/vtimer.c
xen/arch/arm/vtimer.h
xen/include/asm-arm/domain.h
xen/include/asm-arm/time.h